package com.fit.beans;

import java.util.ArrayList;
import java.util.List;

import com.fit.interfaces.Damage;
import com.fit.interfaces.RecordDamage;
import com.fit.service.BorrowUniqueID;

public class DamageBean implements Damage {

	private String damageId;
	
	private String name;
	
	private List<RecordDamage> records;
	
	
	
	public String getDamageId() {
		return damageId;
	}

	public void setDamageId(String damageId) {
		this.damageId = damageId;
	}

	public List<RecordDamage> getRecords() {
		return records;
	}

	public void setRecords(List<RecordDamage> records) {
		this.records = records;
	}

	public String getName() {
		// TODO Auto-generated method stub
		return name;
	}

	public void setName(String name) {
		// TODO Auto-generated method stub
		this.name = name;
	}
	
	public void executeDamageBean(String name){
		setDamageId(BorrowUniqueID.getBorrowUniqueID());
		setName(name);
		
		
	}

}
